<%@ page language="C#" autoeventwireup="true" inherits="Recruiters_jobpurchase, App_Web_ymxcryhk" %>

<%@ Register Src="rcLeft.ascx" TagName="rcLeft" TagPrefix="uc3" %>
<%@ Register Src="rcBottom.ascx" TagName="rcBottom" TagPrefix="uc8" %>
<%@ Register Src="rcMenu.ascx" TagName="rcMenu" TagPrefix="uc7" %>
<%@ Register Src="rcBanner.ascx" TagName="rcBanner" TagPrefix="uc6" %>
<%@ Register Src="rcTop.ascx" TagName="rcTop" TagPrefix="uc1" %>
<%@ Register Src="rcRight.ascx" TagName="rcRight" TagPrefix="uc4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>::Job Purchase</title>
    <LINK href="../css/newstyle.css" rel=stylesheet>
    <LINK href="../css/style.css" rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0 style="font-size: 12pt">
    <form id="form1" runat="server">
    <div>
        <table align="center" style="width: 770px" title="Job Manager">
            <tr>
                <td valign="top" colspan="4">
                    <uc1:rcTop ID="RcvTop1" runat="server" />
                </td>
            </tr>
            <tr>
                 
                <td align="center" colspan="4" valign="top">
                    <uc6:rcBanner ID="rcBanner1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 21px" valign="top">
                    <uc7:rcMenu ID="rcMenu1" runat="server" />
                </td>
            </tr>
            <tr>
               
                <td style="width: 3px; height: 351px">
                </td>
                <td style="width: 100%" valign="top">
                    <table border="0" style="width: 100%">
                        <tr>
                            <td align="center" style="height: 12px; text-align: left;" valign="top" colspan="2">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 250px; height: 16px">
                                            <b>
                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Icons/titlenote.gif" />
                                                <asp:Literal ID="litType" runat="server" Text="Jobs and Views Packages"></asp:Literal>&nbsp;</b></td>
                                    </tr>
                                </table>
                                </td>
                        </tr>
                        <tr>
                            <td align="left" colspan="2">
                                <hr size="1" />
                            </td>
                        </tr>
                        <tr>
                            <td align="left" colspan="2">
                                <table style="width: 745px">
                                    <tr>
                                        <td>
                                            Contact
                                Name:
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtContactName" runat="server" MaxLength="100" ValidationGroup="Purchase"
                                                Width="256px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtContactName"
                                                ValidationGroup="Purchase">*</asp:RequiredFieldValidator></td>
                                        <td>
                                            Total jobs:</td>
                                        <td>
                                            <asp:Literal ID="literalJobs" runat="server"></asp:Literal></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Payment by:</td>
                                        <td><asp:DropDownList ID="ddlPaymentBy" runat="server" ValidationGroup="Purchase" Width="262px">
                                            <asp:ListItem Selected="True">ATM Transfer</asp:ListItem>
                                            <asp:ListItem>Cash</asp:ListItem>
                                            <asp:ListItem>Bank Transfer</asp:ListItem>
                                        </asp:DropDownList></td>
                                        <td>
                                            Total views:</td>
                                        <td>
                                            <asp:Literal ID="literalViews" runat="server"></asp:Literal></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            Payment Currency:</td>
                                        <td>
                                            <asp:DropDownList ID="ddlCurrency" runat="server" ValidationGroup="Purchase">
                                                <asp:ListItem>USD</asp:ListItem>
                                                <asp:ListItem>VND</asp:ListItem>
                                            </asp:DropDownList></td>
                                        <td>
                                            Total discount:</td>
                                        <td>
                                            <asp:Literal ID="literalDiscount" runat="server"></asp:Literal></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            You can pay to bank account #12345678 ABC Bank if you pay by Bank Transfer/ ATM
                                            Transfer</td>
                                        <td>
                                            Payment amount:</td>
                                        <td>
                                            <asp:Literal ID="literalAmount" runat="server"></asp:Literal></td>
                                    </tr>
                                    <tr>
                                        <td style="height: 14px" colspan="2"><font color=red>
                                            Note: You can view 10 resumes per job.</font></td>
                                        <td style="height: 14px">
                                        </td>
                                        <td style="height: 14px">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="text-align: left" valign="top">
                                <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                    OnSorting="GridView1_Sorting" PageSize="20" Width="100%" OnRowDataBound="GridView1_RowDataBound" >
                                    <PagerSettings Mode="NumericFirstLast" />
                                    <Columns>
                                        <asp:BoundField DataField="PackageID" HeaderText="#" >
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" Width="20px" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Program" HeaderText="Program" />
                                        <asp:BoundField DataField="Name" HeaderText="Package Name" />
                                        <asp:BoundField DataField="Package" HeaderText="Package Unit" >
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Price" HeaderText="Price" >
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Discount" HeaderText="%Discount">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Currency" HeaderText="Currency" >
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="Purchase">
                                            <ItemTemplate>
                                                <asp:TextBox ID="txtPurchase" runat="server" MaxLength="2" Width="52px"></asp:TextBox>
                                                <asp:RangeValidator ID="rv" runat="server" ControlToValidate="txtPurchase"></asp:RangeValidator>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="MinQuantity" ShowHeader="False" />
                                        <asp:BoundField DataField="MaxQuantity" ShowHeader="False" />
                                        <asp:BoundField DataField="Type" ShowHeader="False" />
                                    </Columns>
                                </asp:GridView>
                                &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" style="text-align: left; width=25%" valign="top"><asp:Button
                                    ID="btnSave" runat="server" Text="Purchase" OnClick="btnSave_Click" ValidationGroup="Purchase" Width="70px" />&nbsp;
                                <asp:Button
                                    ID="btnCalculate" runat="server" Text="Calculate" OnClick="btnCalculate_Click" ValidationGroup="Calculate" Width="70px" /></td>
                            <td style="text-align: right" width="75%">
                                </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="text-align: center" valign="top">
                                <b><font color=red>
                                    <asp:Literal ID="litError" runat="server"></asp:Literal></font></b></td>
                        </tr>
                    </table>
                </td>
                <td style="width: 1px; height: 351px" valign="top">
                </td>
            </tr>
            <tr>
              <td align="center" colspan="4">
                  <uc8:rcBottom ID="RcvBottom1" runat="server" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>



